package com.ysynzehao.service;


import com.ysynzehao.model.order.Order;

import java.util.List;

/**
 * niuzehao
 * 2018/11/30 18:05.
 */
public interface OrderService {

    int saveOrder(Order user);

    Order getOrder(int userId);

    int updateOrder(Order order);

    int deleteOrder(int orderId);

    List<Order> getAllOrder();

}
